package com.b2c.pojo.vo;

import lombok.Data;

import javax.validation.constraints.Pattern;

import static content.common.Regexp.EMAIL_REGEXP;
import static content.common.ValidMessage.EMAIL_FORMAT_ERROR;


@Data
public class EmailVo {
    @Pattern(regexp = EMAIL_REGEXP, message = EMAIL_FORMAT_ERROR)
    private String email;

}
